﻿<Window x:Class="NetworkMessenger.InfoWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="About" Height="178" Width="478" xmlns:my="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration" Icon="/NetworkMessenger;component/Images/SettingsIcon.ico" ResizeMode="CanMinimize" Loaded="Window_Loaded">
    <Window.Resources>
        <ResourceDictionary Source="StyleDictionary.xaml"/>
    </Window.Resources>
    <Grid>
        <Rectangle Name="backgroundRectangle" Style="{StaticResource BackgroundRectangle}"/>
        <Label Height="28" HorizontalAlignment="Left" Margin="11,11,0,0" VerticalAlignment="Top" Width="109" Foreground="White">Computer Name:</Label>
        <TextBox Height="23" Margin="118,13,163,0" Name="compNameTextBox" VerticalAlignment="Top" IsReadOnly="True"/>
        
        <Label HorizontalAlignment="Left" Margin="11,43,0,0" Width="98" Height="28" VerticalAlignment="Top" Foreground="White">IP Address:</Label>
        <TextBox Margin="118,45,163,0" Name="ipTextBox" IsReadOnly="True" Height="23" VerticalAlignment="Top" />       
        
        <Label HorizontalAlignment="Left" Margin="11,77,0,0" Width="98" Height="31" VerticalAlignment="Top" Foreground="White">Server Port:</Label>
        <TextBox Margin="118,77,163,0" Name="portTextBox" IsReadOnly="True" Height="24" VerticalAlignment="Top" />
        
        <Label HorizontalAlignment="Left" Margin="11,107,0,0" Width="98" Height="31" VerticalAlignment="Top" Foreground="White">App Version:</Label>
        <TextBox Margin="118,107,163,0" Name="versionTextBox" IsReadOnly="True" Height="24" VerticalAlignment="Top" />
        
        <Image HorizontalAlignment="Right" Stretch="Uniform" Width="157" Source="/NetworkMessenger;component/Images/SettingsIcon.ico" Margin="0,0,0,2" />
    </Grid>
</Window>
